package com.javatest.redpacket.service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @date 2020-08-03 下午5:34
 */
public interface UserRedPacketService {
    /**
     * Grap red packet int.
     *
     * @param redPacketId the red packet id
     * @param userId      the user id
     * @return the int
     */
    int grabRedPacket(Long redPacketId, Long userId);


    /**
     * Grap red packet for version int.
     *
     * @param redPacketId the red packet id
     * @param userId      the user id
     * @return the int
     */
    int grabRedPacketForVersion(Long redPacketId, Long userId);
}
